Don't hesitate to ask questions and make remarks onthis wiki page.
Introduction
Consider a system which evolves deterministically (there is no noise) and observe it for a long time. You can e.g. think of hard spheres on a billiard, or of particles interacting on a lattice, or more generally of a system described by a Hamiltonian dynamics
(Here, qn(t) represents a position and pn(t)a momentum). The initial condition is qn(0), pn(0). The total energy is conserved: it is constant in time:
One may hope that in the long time and large system size limits, one recovers the results of statistical physics: in other words, we expect that the long-time average of an observable coincides with the ensemble average of statistical physics. In this case, energy is conserved, the ensemble is microcanonical. For this ensemble we expect equipartition: the probability density for the system to have visited a point (qn, pn) in the phase space is uniform on the energy shell E :
One prerequisite for this property to hold is that the system has to explore the whole energy surface. There are simple counter-examples to this expectation: one is given by a chain of harmonically coupled particles on a lattice (i.e. particles connected to their neighbors with elastic springs). Roughly speaking, the number of constants of motion in this system is high enough to forbid the dynamics to explore the whole energy surface.
The harmonic chain
Fourier representation
Particle are distributed on a lattice close to integer sites 0,1,...L. Each particle interacts with its closest neighbors with an elastic potential V. We consider the case with fixed boundary conditions.
We start by studying a discrete elastic chain: L+1 particles are interacting on a one dimensional lattice (see figure). The particles interact with their neighbors at left and at right with a harmonic potential. The distance between the rest position of the particle n and its actual position is denoted by un (n=0...L). We consider the case with fixed boundary conditions and with the particles initially at rest:
The Hamiltonian is
where the velocity is the moment conjugated to the position (taking unit mass). Using equation (1), show that the equations of motion are:
The problem is easier to study in the Fourier space: one defines the Fourier modes k = 0,1...L − 1
which are compatible with the boundary conditions. The inverse Fourier transform is given by
The corresponding expression of the Hamiltonian is
Count the modes of strictly positive energy for the system described above.
At t=0, we prepare the system at energy E. If the equipartition of energy applies, what is the average energy associated to each mode k?
Evolution in time
At t=0, we prepare the system in the Fourier mode k=1:
and the energy is concentrated in the first mode, of energy
We may wonder whether the energy stays in this mode or decays on the others modes, as predicted by statistical physics. We now study this question numerically, by discretizing the equation of evolution (2) with a time step dt.
import pylab,math,numpy
Ntime =1000
L =32
dt =0.001def HARMONIC(u,n):
return u[n+1]+u[n-1]-2.*u[n]def FT(e,k):
returnsum([e[n]*math.sin(n*k*math.pi/L)for n inrange(1,L)])/math.sqrt(L/2.)#initial condition for the position u and velocity v
u =[0]+[L*math.sin(n*math.pi/L)for n inrange(1,L)]+[0]
v =[0. for n inrange(L+1)]
mode1 =[]#dynamics with fixed boundary conditions: u[0] = u[L-1] = 0for itime inrange(Ntime):
oldu = u[:]
oldv = v[:]
v =[0]+[oldv[n]+dt*HARMONIC(oldu,n)for n inrange(1,L)]+[0]
u =[0]+[oldu[n]+dt*v[n]for n inrange(1,L)]+[0]
k =1; en1 = FT(v,k)**2/2.+2.*(math.sin(k*math.pi/(2*L)))**2*FT(u,k)**2#k = 2; en2 = FT(v,k)**2/2.+2.*(math.sin(k*math.pi/(2*L)))**2*FT(u,k)**2
mode1.append(en1)
pylab.title('The harmonic chain')
pylab.xlabel('time')
pylab.ylabel('E_1, energy of mode 1')time=[dt*itime for itime inrange(Ntime)]
exact =[L*(L*math.sin(math.pi/(2*L)))**2for itime inrange(Ntime)]
pylab.plot(time,exact,'b-')
pylab.plot(time,mode1,'r-')
pylab.axis([0,Ntime*dt,75.,82.])
pylab.show()
Note that one could use the Fast Fourier Transform algorithm to compute The Fourier Transform. Moreover, we could also use more efficient numerical integration such as the Leapfrog method, instead of the modified Euler one.
Check the precision of the algorithm when decreasing the time step dt.
Try the initial condition u=[0]+[L/2.-abs(L/2.-n) for n in range(1,L)]+[0]. Plot some snapshots of the displacement u(t). Plot the time evolution of the energy Ek for modes k=1 to 4. Comment.
Questions on Python language:
What is the difference between a list (e.g. [1,2,3]), a tuple (e.g. (1,2,4))?
Define a list a (e.g. a=[1,2,2]). Define b=a. Modify a. What happens to b?
If a and b are two lists, what is the difference between the commands a.append(b), a.extend(b) and a+b?
More generically, integrable systems also break ergodicity. It was thought that non-integrable systems would on the contrary be ergodic, until...
A counter-example by Fermi, Pasta, Ulam and Tsingou
System and ergodicity
In 1955, Enrico Fermi, John Pasta, Stanislaw Ulam and Mary Tsingou proposed to add a slightly non-harmonic interaction, that would allow the mixing of the energy between the modes so as to recover the microcanonical prediction of statistical physics. The equations of motions that they considered is
The numerical study of this equation was performed with one of the very first computers, the Maniac I. To repeat the same experiment, you can use the following force
instead of HARMONIC(u,n). We start with the following parameters:
Ntime =10000
L =32
alpha =0.3
dt =0.2
and this initial state
u =[0]+[math.sin(n*math.pi/L)for n inrange(1,L)]+[0]
What do you observe? Explain why Fermi, Pasta, Ulam and Tsingou were happy.
Take a larger number of time steps Ntime=44000. What do you really conclude about ergodicity?
Compare different values of α.
Plot the shape of the profile un at different times on a same graph, slightly shifted so as to visualize the evolution.
Study of solitons (bonus; difficult)
This complicated evolution corresponds to the propagation of many undeforming profiles, called "solitons". To determine the possible shape of a single soliton, one first takes a macroscopic limit by defining continuous variables
One sets a field φ(x,τ) from the definition
Show that at second order the field φ(x,τ) verifies the equation
To study a travelling wave, one sets X = x − τ. Find the equation for φ(X,τ).
Assuming that variations in time are slow, neglect the term
and show that
This equation is called the Korteweg-de Vries equation. Find a traveling wave solution, i.e. of the following form:
where the invariant shape is
Come back to the initial variable φ(x,τ) (Hint: when integrating from Φ to φ, ensure that the profile φ goes to zero at infinity).
Test numerically the stability of the obtained soliton. Don't forget to compute the initial velocity correctly.
How do two colliding solitons of opposite velocities interact? Illustrate this fact numerically.
DM2 The Fermi - Pasta - Ulam - Tsingou chainDon't hesitate to ask questions and make remarks on this wiki page.
Introduction
Consider a system which evolves deterministically (there is no noise) and observe it for a long time. You can e.g. think of hard spheres on a billiard, or of particles interacting on a lattice, or more generally of a system described by a Hamiltonian dynamics(Here, qn(t) represents a position and pn(t)a momentum). The initial condition is qn(0), pn(0). The total energy is conserved: it is constant in time:
One may hope that in the long time and large system size limits, one recovers the results of statistical physics: in other words, we expect that the long-time average of an observable coincides with the ensemble average of statistical physics. In this case, energy is conserved, the ensemble is microcanonical. For this ensemble we expect equipartition: the probability density for the system to have visited a point (qn, pn) in the phase space is uniform on the energy shell E :
One prerequisite for this property to hold is that the system has to explore the whole energy surface. There are simple counter-examples to this expectation: one is given by a chain of harmonically coupled particles on a lattice (i.e. particles connected to their neighbors with elastic springs). Roughly speaking, the number of constants of motion in this system is high enough to forbid the dynamics to explore the whole energy surface.
The harmonic chain
Fourier representation
The Hamiltonian is
where the velocity is the moment conjugated to the position (taking unit mass). Using equation (1), show that the equations of motion are:
The problem is easier to study in the Fourier space: one defines the Fourier modes k = 0,1...L − 1
which are compatible with the boundary conditions. The inverse Fourier transform is given by
The corresponding expression of the Hamiltonian is
Evolution in time
At t=0, we prepare the system in the Fourier mode k=1:and the energy is concentrated in the first mode, of energy
We may wonder whether the energy stays in this mode or decays on the others modes, as predicted by statistical physics. We now study this question numerically, by discretizing the equation of evolution (2) with a time step dt.
Note that one could use the Fast Fourier Transform algorithm to compute The Fourier Transform. Moreover, we could also use more efficient numerical integration such as the Leapfrog method, instead of the modified Euler one.
More generically, integrable systems also break ergodicity. It was thought that non-integrable systems would on the contrary be ergodic, until...
A counter-example by Fermi, Pasta, Ulam and Tsingou
System and ergodicity
In 1955, Enrico Fermi, John Pasta, Stanislaw Ulam and Mary Tsingou proposed to add a slightly non-harmonic interaction, that would allow the mixing of the energy between the modes so as to recover the microcanonical prediction of statistical physics. The equations of motions that they considered isThe numerical study of this equation was performed with one of the very first computers, the Maniac I. To repeat the same experiment, you can use the following force
instead of HARMONIC(u,n). We start with the following parameters:
and this initial state
Study of solitons (bonus; difficult)
This complicated evolution corresponds to the propagation of many undeforming profiles, called "solitons". To determine the possible shape of a single soliton, one first takes a macroscopic limit by defining continuous variablesShow that at second order the field φ(x,τ) verifies the equation
and show that
where the invariant shape is
References
print this page